package com.urbane.generator.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
@Accessors(chain = true)
@Schema(description = "代码生成请求参数")
public class GenInjectionRequest {
    private Map<String, Object> customMap = new HashMap<>();
    private final List<CustomFile> customFiles = new ArrayList<>();

    @Data
    public static class CustomFile {
        private String fileName;
        private String templatePath;
        private String packageName;
        private String filePath;
        private boolean fileOverride;
    }
}
